package com.photoeditor.demo.ui.dialog;

import android.content.Context;

public interface IDialog extends ICondition, IDialogParas {
    IDialog with(Context context);

    void show();

    void show(IShowListener listener);

    interface IListener {

    }

    interface IShowListener extends IListener {
        void yes();

        void no();
    }

    abstract class Listener implements IShowListener {

        @Override
        public void no() {

        }
    }
}
